[INFO] cloning repository https://github.com/birchling/multi-otsu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/birchling/multi-otsu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0349784df2784ea107b5c1c0021d260a55ec045f
[INFO] checking birchling/multi-otsu against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/birchling/multi-otsu on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/birchling/multi-otsu
[INFO] finished tweaking git repo https://github.com/birchling/multi-otsu
[INFO] tweaked toml for git repo https://github.com/birchling/multi-otsu written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/birchling/multi-otsu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d6eb8c67ab07e2b6d0649057630c500d082d42013641630183f42ed4b12659fa
[INFO] running `Command { std: "docker" "start" "-a" "d6eb8c67ab07e2b6d0649057630c500d082d42013641630183f42ed4b12659fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6eb8c67ab07e2b6d0649057630c500d082d42013641630183f42ed4b12659fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6eb8c67ab07e2b6d0649057630c500d082d42013641630183f42ed4b12659fa", kill_on_drop: false }`
[INFO] [stdout] d6eb8c67ab07e2b6d0649057630c500d082d42013641630183f42ed4b12659fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c6f45ee8efdb3e53a002c1af2d8bb99431f8bf0fae68adec0c35e1b2111a084
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3c6f45ee8efdb3e53a002c1af2d8bb99431f8bf0fae68adec0c35e1b2111a084", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking custom_derive v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking conv v0.3.3
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_pcg v0.1.2
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.1.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking crossbeam-queue v0.2.0
[INFO] [stderr]     Checking png v0.15.2
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking rusttype v0.8.2
[INFO] [stderr]     Checking rayon-core v1.6.1
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking rulinalg v0.4.2
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking rayon v1.2.1
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking image v0.22.3
[INFO] [stderr]     Checking imageproc v0.19.2
[INFO] [stderr]     Checking multi-otsu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `histogram` in this scope
[INFO] [stdout]   --> src/main.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hist = histogram(image);
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use imageproc::stats::histogram;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             best_threshold = threshold as u8;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     best_threshold
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Luma`
[INFO] [stdout]  --> src/main.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{open, GrayImage, Luma};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `otsu_level`, `threshold`
[INFO] [stdout]  --> src/main.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use imageproc::contrast::{otsu_level, threshold};
[INFO] [stdout]   |                           ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `histogram` in this scope
[INFO] [stdout]   --> src/main.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hist = histogram(image);
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use imageproc::stats::histogram;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             best_threshold = threshold as u8;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     best_threshold
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Luma`
[INFO] [stdout]  --> src/main.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{open, GrayImage, Luma};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `otsu_level`, `threshold`
[INFO] [stdout]  --> src/main.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use imageproc::contrast::{otsu_level, threshold};
[INFO] [stdout]   |                           ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multi-otsu`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "3c6f45ee8efdb3e53a002c1af2d8bb99431f8bf0fae68adec0c35e1b2111a084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c6f45ee8efdb3e53a002c1af2d8bb99431f8bf0fae68adec0c35e1b2111a084", kill_on_drop: false }`
[INFO] [stdout] 3c6f45ee8efdb3e53a002c1af2d8bb99431f8bf0fae68adec0c35e1b2111a084
